import axios from 'axios';
import {ALL_SERVICE_API} from '../api';
// var qs = require('qs');
// 保存
export const saveAgeingWarning = (params) => {
  return axios.put(ALL_SERVICE_API + '/ageing_warning_batch', params);
};

export const findByWarningType = (params) => {
  return axios.get(ALL_SERVICE_API + '/ageing_warning/type', {params: params});
};
